Skip to main content

New Item Dialog

When you select New Item from the context menu in the asset folder, a dialog appears allowing you to create various predefined file types.

This dialog simplifies the creation of common frontend resource files such as scripts and styles.

Available File Types:

  • TypeScript File
    Description: A blank TypeScript source file
    Extension: .ts

  • TypeScript JSX File
    Description: A blank TypeScript JSX source file
    Extension: .tsx

  • Style Sheet
    Description: CSS style sheet
    Extension: .css

Steps to Create a New File:

  1. Right-click the asset folder and select New Item.
  2. Choose one of the file types from the list.
  3. Enter a file name in the FILE NAME field at the bottom.
  4. Click OK to create the file inside the asset folder.

Tip: File names must be unique within the folder and should not include special characters.

Use Cases:

  • Creating reusable .ts helper functions.
  • Defining component-based styles with .css.
  • Adding .tsx files for advanced form scripting with JSX support.

New Item Dialog